package com.kangfu.db.model.request;


import javax.validation.constraints.NotBlank;
import java.time.LocalDate;

public class UserInfoRequest{

    /** 用户昵称 */
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    /** 用户头像 */
    @NotBlank(message = "头像不能为空")
    private String avatar;

    /** 验证码 */
    private String code;

    /** 新的手机号 */
    private String newPhone;

    /** 旧的手机号 */
    private String oldPhone;

    /** 性别(1|男,2|女) */
    private Integer sex;

    /** 出生时间 */
    private LocalDate birthday;

    /** 所在地区 */
    private String area;

    /** 详细地址 */
    private String address;

    /** 地区码 */
    private String areaCode;

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNewPhone() {
        return newPhone;
    }

    public void setNewPhone(String newPhone) {
        this.newPhone = newPhone;
    }

    public String getOldPhone() {
        return oldPhone;
    }

    public void setOldPhone(String oldPhone) {
        this.oldPhone = oldPhone;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }
}
